package org.ezplatform.office.forum.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;

import org.ezplatform.core.annotation.MetaData;
import org.ezplatform.core.entity.BaseCorpEntity;

/**
 * @desc 论坛积分规则实体类
 * @create 2017-11-14 20:08
 **/
@MetaData(value = "论坛积分规则")
@Entity(name = "ForumIntegralRule")
@Table(name = "oa_forum_integral_rule", uniqueConstraints = { @UniqueConstraint(columnNames = "id") })
public class ForumIntegralRule extends BaseCorpEntity {

    private static final long serialVersionUID = -1633409975032489554L;
    
    /**
     * 单日上限分数
     */
    @MetaData(value = "单日上限分数")
    @Column(name = "dayup_score", length = 20)
    private int dayupScore;
    
    /**
     * 发帖/删帖分数
     */
    @MetaData(value = "发帖/删帖分数")
    @Column(name = "post_del_score", length = 20)
    private int postdelScore;
    
    /**
     * 精华/取消分数
     */
    @MetaData(value = "精华/取消分数")
    @Column(name = "essence_del_score", length = 20)
    private int essencedelScore;
    
    /**
     * 收藏/取消分数
     */
    @MetaData(value = "收藏/取消分数")
    @Column(name = "favorite_del_score", length = 20)
    private int favoritedelScore;
    
    /**
     * 置顶/取消分数
     */
    @MetaData(value = "置顶/取消分数")
    @Column(name = "top_del_score", length = 20)
    private int topdelScore;
    
    /**
     * 评论/删除分数
     */
    @MetaData(value = "评论/删除分数")
    @Column(name = "comment_del_score", length = 20)
    private int commentdelScore;

	public int getDayupScore() {
		return dayupScore;
	}

	public void setDayupScore(int dayupScore) {
		this.dayupScore = dayupScore;
	}

	public int getPostdelScore() {
		return postdelScore;
	}

	public void setPostdelScore(int postdelScore) {
		this.postdelScore = postdelScore;
	}

	public int getEssencedelScore() {
		return essencedelScore;
	}

	public void setEssencedelScore(int essencedelScore) {
		this.essencedelScore = essencedelScore;
	}

	public int getFavoritedelScore() {
		return favoritedelScore;
	}

	public void setFavoritedelScore(int favoritedelScore) {
		this.favoritedelScore = favoritedelScore;
	}

	public int getTopdelScore() {
		return topdelScore;
	}

	public void setTopdelScore(int topdelScore) {
		this.topdelScore = topdelScore;
	}

	public int getCommentdelScore() {
		return commentdelScore;
	}

	public void setCommentdelScore(int commentdelScore) {
		this.commentdelScore = commentdelScore;
	}

}
